package unittest;

/**
 * 检查输入的字符是元音还是辅音
 */
public class VowelConsonant {
    public String check(String character) {
        String v = "vowel";
        String c = "consonant";
        if (character == "a" || character == "e" || character == "i" || character == "o" || character == "u") {
            return v;
        } else {
            return c;
        }
    }
}
